# utils/distributed_config.py
"""
分布式训练配置
"""

# 分布式训练配置
DISTRIBUTED_CONFIG = {
    "machines": [
        "192.168.16.163:12400",  # 主节点
        # "192.168.16.78:12400",   # 工作节点1
        # "192.168.16.82:12400",   # 工作节点2
        # "192.168.16.89:12400"    # 工作节点3
    ],
    "local_listen_port": 12400,
    "master_ip": "192.168.16.163",
    "master_port": 12400,
    "num_machines": 4,
    "timeout": 300,
    "node_role": "auto"  # 可选值: "master", "slave", "auto"
}
